package com.lishuang.product.mapper;

import com.lishuang.product.domain.Product;
import com.lishuang.basic.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lishuang
 * @since 2022-06-20
 */
public interface ProductMapper extends BaseMapper<Product> {


    /**
     * 服务下架
     */
    void offsale(@Param("offsaletime") Date offsaletime, @Param("ids") List<Long> ids);
}
